package models

// HtTalent 人才库
type HtTalent struct {
    Id            int      `gorm:"primaryKey;autoIncrement;comment:人才id"  json:"id"`
    Name          string   `json:"name" gorm:"size:128;comment:姓名"`
    Phone         string   `json:"phone" gorm:"size:11;comment:手机号;uniqueIndex"`
    Sex           string   `json:"sex" gorm:"size:255;comment:性别"`
    Email         string   `json:"email" gorm:"size:128;comment:邮箱"`
    Status        string   `json:"status" gorm:"size:4;comment:状态"`
    Level         string   `json:"level" gorm:"size:4;comment:评级"`
    Note          string   `json:"note"  gorm:"size:2048;comment:备注信息"`
    ProjectIds    []int    `json:"projectIds" gorm:"-"`
    ResumeFileIds []string `json:"resumeFileIds" gorm:"-"`
    ContactIds    []int    `json:"contractIds" gorm:"-"`
    ControlBy
    ModelTime
}

func (*HtTalent) TableName() string {
    return "ht_talent"
}
